<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;

class VideoController extends ApiController
{
    public function getVideo(){
        $res= DB::table('video')->get()->toArray();
        return self::returnAjax(['list'=>$res], 200, "修改成功");
    }
}
